package codec;

/**
 * Created by ryan on 15-8-25.
 */
public class FileRespond {

    private long offset;
    private int length;
    private byte[] content;

    private long record;

    public FileRespond(long offset, int ln, byte[] content, long record) {
        this.offset = offset;
        this.length = ln;
        this.content = content;
        this.record = record; //request length record for convenience
    }

    public long getOffset() {return offset;}

    public int getLength() {return length;}

    public byte[] getContent() {return content;}

    public long getRecord() {return record;}
}
